package com.dsd.datav.enums;

/**
 * @author Administrator
 * @Title: IdicatorColor 指标颜色枚举
 * @ProjectName datav
 * @Description: TODO
 * @date 2024/1/19 00192024/1/19 0019
 */
public enum IdicatorColor {
    GREEN(" #00FF00","绿色，满足四项指标至少三项"),
    YELLOW(" #FFFF00","黄色，满足四项指标至少二项，其中存款或贷款至少有一项"),
    RED(" #FF0000 ","除去以上情况外");
    private String color;
    private String desc;
    IdicatorColor(String color, String desc) {
        this.color = color;
        this.desc = desc;
    }
    public String color() {
        return this.color;
    }

    public String desc() {
        return this.desc;
    }
    @Override
    public String toString() {
        return "IdicatorColor{" +
                "color='" + color + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }
}
